﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KaoQin.Model;

namespace KaoQin.Common
{
    public static class StaticDataHelper
    {
        

        public static List<MyItem> GetSexData()
        {
            List<MyItem> result = new List<MyItem>();
            result.Add(new MyItem() { Name = "请选择", Value = "-1" });
            result.Add(new MyItem() { Name = "男", Value = "1" });
            result.Add(new MyItem() { Name = "女", Value = "0" });
            return result;
        }

        public static List<MyItem> GetLeaveType()
        {
            List<MyItem> result = new List<MyItem>();
            result.Add(new MyItem() { Name = "事假", Value = "0" });
            result.Add(new MyItem() { Name = "病假", Value = "1" });
            result.Add(new MyItem() { Name = "年假", Value = "2" });
            result.Add(new MyItem() { Name = "产假", Value = "3" });
            result.Add(new MyItem() { Name = "婚假", Value = "4" });
            result.Add(new MyItem() { Name = "其他", Value = "5" });
            return result;
        }

        public static List<MyItem> GetGoOutType()
        {
            List<MyItem> result = new List<MyItem>();
            result.Add(new MyItem() { Name = "出差", Value = "1" });
            result.Add(new MyItem() { Name = "其他", Value = "2" });
            
            return result;
        }

        public static List<MyItem> GetOverTimeType()
        {
            List<MyItem> result = new List<MyItem>();
            result.Add(new MyItem() { Name = "常规加班", Value = "1" });
            result.Add(new MyItem() { Name = "节假日加班", Value = "2" });

            return result;
        }

        public static List<MyItem> GetSwipeState()
        {
            List<MyItem> result = new List<MyItem>();
            result.Add(new MyItem() { Name = "请选择", Value = "-1" });
            result.Add(new MyItem() { Name = "正常上班", Value = "0" });
            result.Add(new MyItem() { Name = "上班迟到", Value = "1" });
            result.Add(new MyItem() { Name = "正常下班", Value = "2" });
            result.Add(new MyItem() { Name = "下班早退", Value = "3" });
            result.Add(new MyItem() { Name = "非上班时间", Value = "4" });
            //result.Add(new MyItem() { Name = "加班打卡", Value = "5" });
            return result;
        }
    }
}
